/*模块编译MAKEFILE文件*/
ifneq ($(KERNELRELEASE),)

obj-m := Led_blink.o

else

KDIR := /home/sml/linux-2.6.23
all:
    make -C $(KDIR) M=$(PWD) modules ARCH=arm CROSS_COMPILE=arm-linux-
clean:
	rm -f *.ko *.o *.mod.o *.mod.c *.symvers

endif

